<?php
ini_set('error_reporting', 'E_ALL & ~E_DEPRECATED');
require_once 'simpletest/unit_tester.php';
require_once 'simpletest/reporter.php';
require_once dirname(__FILE__) . '/../Textarea.php';

class TextareaTest extends UnitTestCase
{
	public function Test1100()
	{
		$obj = new MyTextarea();
		$obj->contents = 'こんにちは';
		echo "\r\n***Textarea Test1100***\r\n";
		echo $obj->fetch();
	}
}

class MyTextarea extends Hlib_Form_Textarea
{
	public function __construct()
	{
		parent::__construct();
		
		$this->cols = 30;
		$this->rows = 5;
		$this->GeneralAttibutes->id ='myare';
	}
}